<#include "../header.ftl">
<html>
<body>

<#include "../nav-top.ftl">
<div class="sui-container" style="margin-top: 30px;">
    <ul class="sui-breadcrumb" style="padding: 0px 0px">
        <li><a href="#">系统支撑</a></li>
        <li class="active">下级用户</li>
    </ul>
    <div class="sui-row-fluid">
        <div class="span12">
            <form id="form-msg" class="sui-form form-horizontal" novalidate="novalidate">
                <div class="control-group">
                    <label for="accountName">账号：</label>
                    <div class="controls">
                        <input type="text" id="accountName" name="accountName" class="input-large">
                    </div>
                    &nbsp;
                    <label for="nickName">昵称：</label>
                    <div class="controls">
                        <input type="text" id="nickName" name="nickName" class="input-large">
                    </div>
                    &nbsp;
                    <label for="nickName">状态：</label>
                    <div class="controls">
                        <select id="statusCode" class="input-large">
                            <option value="">全部</option>
                            <option value="0">正常</option>
                            <option value="1">注销</option>
                        </select>
                    </div>
                    &nbsp;
                    <a href="javascript:void(0);" class="sui-btn btn-large query-normal">查询</a>
                </div>
            </form>
            <table class="sui-table table-bordered rowover-table" id="tab-normal">
                <thead>
                <tr>
                    <th>账号</th>
                    <th>昵称</th>
                    <th>邮箱</th>
                    <th>手机号码</th>
                    <th>创建日期</th>
                    <th>注销日期</th>
                    <th>状态</th>
                </tr>
                </thead>
                <tbody>

                </tbody>
            </table>
            <div class="sui-pagination normal-pagination" style="float: right">
                <ul>
                    <li class="prev disabled"><a href="#">«上一页</a></li>
                    <li class="next"><a href="#">下一页»</a></li>
                </ul>
            </div>
        </div>

    </div>
</div>
<#include "../footer.ftl">
<script src="../../static/js/plugins/sea/sea.js"></script>
<script src="../../static/js/sea.config.js"></script>
<script>
    seajs.use('/static/js/game/system/sub_user_list');

</script>
<script id="tp-normal" type="text/html">
    <% for (var i = 0; i < list.length; i ++) {
    var user = list[i];
    %>
    <tr>
        <td><%= user.accountName %></td>
        <td><%= user.nickName %></td>
        <td><%= user.email %></td>
        <td><%= user.mobil %></td>
        <td><%= dateFormat(user.createTime,'yyyy-MM-dd') %></td>
        <td><%= dateFormat(user.createTime,'yyyy-MM-dd') %></td>
        <td><%= user.statusCode=='0'?"正常":"注销" %></td>
    </tr>
    <% } %>
</script>

</body>
</html>
